﻿using Fluffy.Library.DocumentContainer;
using Fluffy.Library.Mvvm.Commands;
using System;
using System.Windows.Input;

namespace Fluffy.FakeDocument
{
	public class FakeDocumentViewModel : DocumentViewModelBase
	{
		private readonly FakeDocumentModel _model;

		internal FakeDocumentViewModel(FakeDocumentModel model)
		{
			if (model == null) 
				throw new ArgumentNullException("model");

			_model = model;
		}

		public string FileName
		{
			get { return _model.File.FileName; }
		}

		public override ICommand CutCommand
		{
			get { return new DisabledCommand(); }
		}

		public override ICommand CopyCommand
		{
			get { return new DisabledCommand(); }
		}

		public override ICommand PasteCommand
		{
			get { return new DisabledCommand(); }
		}

		public override ICommand SaveCommand
		{
			get { return new DisabledCommand(); }
		}

		public override ICommand SaveAsCommand
		{
			get { return new DisabledCommand(); }
		}

		public override CommandsContainer Menu1
		{
			get { return new CommandsContainer(); }
		}

		public override CommandsContainer Menu2
		{
			get { return new CommandsContainer(); }
		}

		public override CommandsContainer Menu3
		{
			get { return new CommandsContainer(); }
		}

		public override void Close()
		{ }
	}
}
